package com.ruoyi.system.service;

import com.ruoyi.system.domain.db.trade.TradeVehicleOrder;

import java.util.List;


/**
 * 汽车采购Service接口
 * 
 * @author ruoyi
 * @date 2023-07-31
 */
public interface ITradeVehicleOrderService 
{
    /**
     * 查询汽车采购
     * 
     * @param orderId 汽车采购主键
     * @return 汽车采购
     */
    public TradeVehicleOrder selectTradeVehicleOrderByOrderId(Long orderId);

    /**
     * 查询汽车采购列表
     * 
     * @param tradeVehicleOrder 汽车采购
     * @return 汽车采购集合
     */
    public List<TradeVehicleOrder> selectTradeVehicleOrderList(TradeVehicleOrder tradeVehicleOrder);

    /**
     * 新增汽车采购
     * 
     * @param tradeVehicleOrder 汽车采购
     * @return 结果
     */
    public int insertTradeVehicleOrder(TradeVehicleOrder tradeVehicleOrder);

    /**
     * 修改汽车采购
     * 
     * @param tradeVehicleOrder 汽车采购
     * @return 结果
     */
    public int updateTradeVehicleOrder(TradeVehicleOrder tradeVehicleOrder);

    /**
     * 批量删除汽车采购
     * 
     * @param orderIds 需要删除的汽车采购主键集合
     * @return 结果
     */
    public int deleteTradeVehicleOrderByOrderIds(Long[] orderIds);

    /**
     * 删除汽车采购信息
     * 
     * @param orderId 汽车采购主键
     * @return 结果
     */
    public int deleteTradeVehicleOrderByOrderId(Long orderId);
}
